<?php
require_once dirname(dirname(__FILE__)) . '/shared/config/config.php';
require_once DOCUMENT_ROOT . DIR_INCLUDE . 'html_generator.php';
require_once DOCUMENT_ROOT . DIR_SHARED_API . 'api_affiliate.php';

$affiliate_form_id = filter_input(INPUT_POST, "affiliate_form_id");

show_register_affiliate_form(TRUE, $affiliate_form_id);